﻿@model WoodAdmin.Models.SysConfig
    <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
        <legend>字典编辑</legend>
    </fieldset>
    <form class="layui-form" onsubmit="return false;">
        <input type="hidden" value="@Model.ID" name="ID" />
        <div class="layui-col-xs6 layui-col-sm6 layui-col-md7">
            <div class="layui-form-item">
                <label class="layui-form-label">配置键</label>
                <div class="layui-input-block">
                    <input type="text" name="ConfigKey" lay-verify="required" placeholder="配置键" autocomplete="off" class="layui-input" value="@Model.ConfigKey">
                </div>
            </div>
        </div>
        <div class="layui-col-xs6 layui-col-sm6 layui-col-md7">
            <div class="layui-form-item">
                <label class="layui-form-label">配置值</label>
                <div class="layui-input-block">
                    <input type="text" name="ConfigData" lay-verify="required" placeholder="配置值" autocomplete="off" class="layui-input" value="@Model.ConfigData">
                </div>
            </div>
        </div>
        <div class="layui-col-xs6 layui-col-sm6 layui-col-md7">
            <div class="layui-form-item">
                <label class="layui-form-label">类型</label>
                <div class="layui-input-block">
                    <input type="text" name="ConfigType" lay-verify="required" placeholder="类型" autocomplete="off" class="layui-input" value="@Model.ConfigType">
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block">
                <button class="layui-btn" lay-submit lay-filter="formData" onclick="save('/Config/AddEdit','/Config/Index')">立即提交</button>
            </div>
        </div>
    </form>

